<template>
  <div>
    <swiper loop auto :list="front_swiper_list"></swiper>
  </div>
</template>

<style>

</style>

<script>
import { Swiper } from 'vux'

const baseList = [
  {
    url: 'javascript:',
    img: 'https://ww1.sinaimg.cn/large/663d3650gy1fq66vvsr72j20p00gogo2.jpg',
    title: '送你一朵fua'
  },
  {
    url: 'javascript:',
    img: 'https://ww1.sinaimg.cn/large/663d3650gy1fq66vw1k2wj20p00goq7n.jpg',
    title: '送你一辆车'
  },
  {
    url: 'javascript:',
    img: 'https://ww1.sinaimg.cn/large/663d3650gy1fq66vw50iwj20ff0aaaci.jpg',
    title: '送你一次旅行',
    fallbackImg: 'https://ww1.sinaimg.cn/large/663d3650gy1fq66vw50iwj20ff0aaaci.jpg'
  }
]

export default {
  components: {
    Swiper
  },
  data () {
    return {
      front_swiper_list: baseList,
      swiperItemIndex: 1
    }
  }
}
</script>